package lab2.text35;

/**
 * Created by Administrator on 2017/11/21.
 */
public class Application {
    public static void main(String[] args) {
        Manager m=new Manager("甲",1000);
        Salesman s=new Salesman("乙",2000,100,200);
        Worker w=new Worker("丙",100,200);

        System.out.println("经理"+s.getName()+"工资:"+m.computerSalary());
        System.out.println("销售人员"+s.getName()+"工资："+s.computerSalary());
        System.out.println("工人"+w.getName()+"工资："+w.computerSalary());
    }
}
